import request from '@/utils/request'

// 登录
export const login = data => request.post('/auth/login', data)

// 获取管理员相关信息
export const getUser = () => request.get('/auth/currentUser')
